<template>
  <div id="app">
    <router-link to='/' class="mr-10">首页</router-link>
    <router-link to='/about' class="mr-10">about</router-link>
    <router-link to='/form' class="mr-10">form</router-link>
    <router-view />
  </div>
</template>

<style>
*{
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
 
}
 .mr-10{
    margin-right: 10px;
  }
#nav {
  padding: 30px;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
  margin-right: 10px;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
